#ifndef EVAUI_H
#define EVAUI_H

#include <QDialog>
#include <QSqlDatabase>
#include <QSqlQuery>
#include <QSqlTableModel>
#include <QMessageBox>

namespace Ui {
class evaui;
}

class evaui : public QDialog
{
    Q_OBJECT

public:
    explicit evaui(QSqlDatabase* db,QString account,QString student,QStringList tname,QWidget *parent = nullptr);
    ~evaui();

private slots:
    void on_btnAccept_clicked();

    void on_btnCancel_clicked();

private:
    Ui::evaui *ui;

    QStringList tname;//评价老师的列表
    QString m_account;
    QString m_student;
    QSqlDatabase m_db;
};

#endif // EVAUI_H
